﻿<div class="infoBlock">
<div class="infoBlockHeading"><span class="t">List</span></div>
<div class="infoBlockContent">

<div class="infoBlockItem">
<form name="listform" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="listBox">
  <tr class="listBoxHeading">
    <td>{pp_inputcheckboxall name="sla" values=""}</td>
    <td>Name</td>
    <td>Sort Order</td>
    <td>Status</td>
    <td>Action</td>
  </tr>
{section name=item loop=$CONTENT.items}
  <tr>
    <td>{pp_inputcheckbox value=$CONTENT.items[item].id}</td>
    <td><a href="{$CONTEXT.URL}app/question/item/?op=edit&id={$CONTENT.items[item].id}">{$CONTENT.items[item].name}</a></td>
    <td>{$CONTENT.items[item].sort_order}</td>
    <td>{$CONTENT.items[item].status}</td>
    <td><a href="?op=edit&id={$CONTENT.items[item].id}">Edit</a>&nbsp;<a href="javascript:void(0);" onclick="PJS.list.delchkgo('?op=dodelete&id={$CONTENT.items[item].id}');">Delete</a></td>
  </tr>
{sectionelse}
  <tr>
    <td colspan="8"></td>
  </tr>
{/section}
  <tr class="listBoxActionB">
    <td colspan="8"><div id="tocid" class="part"><input type="button" name="move" value=" Move To " onclick="return PJS.list.doActionCheck('moveitems', this);return false;"> {pp_inputoptions name="tocid" options=$CONTENT.categories_options style="-----Categories-----" class="pclw" onchange="PJS.list.doActionCheck('moveitems', this);"}</div><div id="sfd" class="part">{pp_inputoptions name="field" options="[-----Actions-----=|Delete=delete|Status open=statusopen|Status close=statusclose]" onchange="PJS.list.doActionField('setfield', this);"}</div></td>
  </tr>
</table>

{if $CONTENT.navigation.show == 1}
<div class="navigation">
<span class="count">{$CONTENT.navigation.count}</span>
<span class="links"><ul>{$CONTENT.navigation.links}</ul></span>
</div>
{/if}
</form>
</div>

</div>
</div>